Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update versions.serenity to v4 (major) #397

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 29, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
net.serenity-bdd:serenity-spring (source) 3.4.2 -> 4.2.16 age adoption passing confidence
net.serenity-bdd:serenity-rest-assured (source) 3.4.2 -> 4.2.16 age adoption passing confidence
net.serenity-bdd:serenity-junit (source) 3.4.2 -> 4.2.16 age adoption passing confidence
net.serenity-bdd:serenity-core (source) 3.4.2 -> 4.2.16 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

serenity-bdd/serenity-core (net.serenity-bdd:serenity-spring)

v4.2.16

Compare Source

v4.2.15

Compare Source

v4.2.14

Compare Source

v4.2.13

Compare Source

v4.2.12

Compare Source

v4.2.11

Compare Source

v4.2.10

Compare Source

v4.2.9

Compare Source

v4.2.8

Compare Source

v4.2.7

Compare Source

v4.2.6

Compare Source

v4.2.5

Compare Source

v4.2.4

Compare Source

v4.2.3

Compare Source

v4.2.2

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source

v4.1.20

Compare Source

v4.1.17

Compare Source

v4.1.15

Compare Source

v4.1.14

Compare Source

v4.1.13

Compare Source

v4.1.12

Compare Source

v4.1.11

Compare Source

v4.1.10

Compare Source

v4.1.9

Compare Source

v4.1.8

Compare Source

v4.1.6

Compare Source

v4.1.5

Compare Source

v4.1.4

Compare Source

v4.1.3

Compare Source

v4.1.0

Compare Source

v4.0.48

Compare Source

v4.0.46

Compare Source

v4.0.45

Compare Source

v4.0.44

Compare Source

v4.0.43

Compare Source

v4.0.40

Compare Source

v4.0.36

Compare Source

v4.0.31

Compare Source

v4.0.30

Compare Source

v4.0.29

Compare Source

v4.0.28

Compare Source

v4.0.27

Compare Source

v4.0.26

Compare Source

v4.0.25

Compare Source

v4.0.24

Compare Source

v4.0.22

Compare Source

v4.0.21

Compare Source

v4.0.19

Compare Source

v4.0.18

Compare Source

v4.0.16

Compare Source

v4.0.15

Compare Source

v4.0.14

Compare Source

v4.0.12

Compare Source

v4.0.11

Compare Source

v4.0.8

Compare Source

v4.0.5

Compare Source

v4.0.4

Compare Source

v4.0.3

Compare Source

v4.0.2

Compare Source

v4.0.1

Compare Source

Serenity 4 Release Notes

Serenity 4.0.1 is a major upgrade. The most significant change is updating the library to support Java 11, in line with other popular testing libraries such as Selenium and Mockito. However, the migration to Java 11 requires changes in the module structure, which requires some breaking changes to the package structure.

These release notes will explain how to update your project to work with Serenity BDD 4.x.

The biggest change is the main Serenity annotations, such as @Step, which are now in the net.serenitybdd.annotations package, rather than the net.thucydides.core.annotations package as was previously the case.

If you are using Serenity internal classes, some of these may have moved as well.

The following table indicates the main changes:

Package changes

Module Old packages New Packages
serenity-screenplay-webdriver net.serenity.screenplay.* net.serenity.screenplay.webdriver.*
net.serenitybdd.screenplay.webtest.actions.* net.serenitybdd.screenplay.webdriver.actions.*
serenity-model net.serenitybdd.core.* net.serenitybdd.model.*
net.thucydides.core.annotations.* net.serenitybdd.annotations.*
Other net.thucydides.core.* net.thucydides.model.*

For example:

  • Replace any annotations previously in net.thucydides.core.annotations (e.g. @​Step) in net.serenitybdd.annotations
  • Replace net.thucydides.core.util.EnvironmentVariables with net.thucydides.model.util.EnvironmentVariables

This release also includes support for Selenium 4.11.0, a number of bug fixes, and improved support of reporting step durations for parallel tests.

Guice is no longer used

Serenity stopped using Guice in version 3.9.8. This has no impact on most test scripts, but if you are using internal classes such as net.thucydides.core.guice.Injectors classes to retrieve objects such as EnvironmentVariables, this will no longer work. In Serenity 4.0.0 or higher, to retrieve the current environment variables, use the net.serenitybdd.core.di.SerenityInfrastructure class as shown here:

EnvironmentVariables environmentVariables = SerenityInfrastructure.getEnvironmentVariables();

Report Generation Changes

In Serenity 4.0.x, test execution generates JSON test output files, but not HTML files. To generate the full HTML reports, invoke the aggregate task, e.g. mvn aggregate or gradle aggregate.

v4.0.0

Compare Source

v3.9.8

Compare Source

v3.9.7

Compare Source

v3.9.4

Compare Source

v3.9.3

Compare Source

v3.9.2

Compare Source

v3.9.1

Compare Source

v3.9.0

Compare Source

v3.8.1

Compare Source

v3.7.1

Compare Source

v3.7.0

Compare Source

v3.6.23

Compare Source

v3.6.22

Compare Source

v3.6.21

Compare Source

v3.6.20

Compare Source

v3.6.17

Compare Source

v3.6.16

Compare Source

v3.6.15

Compare Source

v3.6.12

Compare Source

v3.6.9

Compare Source

v3.6.7

Compare Source

parallel test execution in both Cucumber and JUnit 5

v3.6.6

Compare Source

v3.6.0

Compare Source

v3.5.1

Compare Source

v3.5.0

Compare Source

v3.4.3

Compare Source


Configuration

📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - "after 8:30am and before 10:30am Monday to Thursday" in timezone Europe/London.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from 3f906c9 to ca896e4 Compare July 30, 2024 10:04
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch 2 times, most recently from 31cf5bd to a2e712b Compare August 9, 2024 09:24
@adityadwadasi
Copy link
Contributor

@renovate renovate bot force-pushed the renovate/major-versions.serenity branch 3 times, most recently from 76c3d1d to a02668a Compare August 16, 2024 11:24
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch 7 times, most recently from 0a11e07 to 6f80ecf Compare August 27, 2024 10:33
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch 3 times, most recently from 64993f5 to 8788a3f Compare September 2, 2024 14:03
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch 6 times, most recently from 4e90977 to 432ea11 Compare September 11, 2024 11:52
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from 432ea11 to 9e19f1a Compare September 12, 2024 10:21
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from c670287 to 1c0a74c Compare January 2, 2025 19:17
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from 1c0a74c to 042f998 Compare January 3, 2025 10:56
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from 042f998 to a776ef7 Compare January 3, 2025 13:33
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from a776ef7 to ac2c5b2 Compare January 8, 2025 14:22
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from ac2c5b2 to bae644c Compare January 16, 2025 07:08
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch 2 times, most recently from f84a059 to 7b20e9f Compare January 28, 2025 11:54
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from 7b20e9f to f2d8b29 Compare January 29, 2025 18:40
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from f2d8b29 to 479dff5 Compare January 30, 2025 10:53
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from 479dff5 to 6b93d42 Compare February 19, 2025 13:54
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from 6b93d42 to 900af3f Compare February 19, 2025 14:05
@renovate renovate bot force-pushed the renovate/major-versions.serenity branch from 900af3f to 90111f9 Compare February 19, 2025 14:15
@larslnde larslnde merged commit 214c0f7 into master Feb 24, 2025
6 checks passed
@larslnde larslnde deleted the renovate/major-versions.serenity branch February 24, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants